Transform regex from Ruby to PHP

In Progress

Hi,

I need the following 3 line Ruby snippet to be transformed to PHP

[url removed, login to view]!(/(\A|^$\n)(^\w[^\n]*\n)(^\w[^\n]*$)+/m) do |x|

[url removed, login to view](/^(.+)$/, "\\1 ")

end

The PHP function should perform in exactly the same way. 30$ maximum and do not send any references etc. instead please confirm that you are able to transform the code in the private message.

Skills: PHP, Ruby on Rails

See more: php ruby regex, php regex ruby regex, regex in c, regex c, rails send, perform line, ruby regex php, regex php ruby, regex ruby php, regex &, rails any, ruby, regex, php w, php ruby, php regex, php function , c++ regex, c# to php, c to php, c regex, regex php, rails php, php code ruby code, confirm php

Project ID: #1670042

Awarded to:

RobNL

Hi, I already converted it to PHP and tested it, you can have it for free, just check my PM. @xorax that does not work.

$30 USD in 0 days
(1 Review)
1.0

7 freelancers are bidding on average $1360 for this job

sunsefunfyns

Hello, Please check PMB.

$30 USD in 0 days
(15 Reviews)
4.0
sublimecode

Professional PHP/mySQL and Perl programming since 2005; Please see PM. Thanks.

$30 USD in 1 day
(8 Reviews)
4.0
xorax

How about this? :) preg_match('/(\A|^$\n)(^\w[^\n]*\n)(^\w[^\n]*$)+/m', $text, $text); $text = preg_replace('/^(.+)$/', '$1 ', $text[0]);

$9000 USD in 900 days
(1 Review)
2.7
shahez

i believe in quality

$150 USD in 4 days
(0 Reviews)
0.0
GVW3B5s4l

Custom Software Development - <b><i>Removed by Admin</i></b>

$250 USD in 1 day
(0 Reviews)
0.0
hugo53

I can handle this job for you!

$30 USD in 1 day
(0 Reviews)
0.0
blackbird12

I have found the appropriate php functions and implemented a solution, can you please provide test data?

$30 USD in 1 day
(0 Reviews)
0.0