En cours

Transform regex from Ruby to PHP

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.

Compétences : PHP, Ruby on Rails

Voir plus : php ruby regex, regex c, rails send, perform line, ruby regex php, regex php ruby, regex ruby php, rails any, regex, php w, php ruby, php regex, php, c regex, regex php, rails php, confirm php, ruby php, private message rails, rails private message, php code send message, ruby rails private message, php rails, send message php, ruby rails php

Concernant l'employeur :
( 38 commentaires ) København Ø, Denmark

N° du projet : #1670042

Décerné à :

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 en 0 jours
(1 Commentaire)
1.0

7 freelance ont fait une offre moyenne de 1360 $ pour ce travail

sunsefunfyns

Hello, Please check PMB.

30 $ USD en 0 jours
(15 Commentaires)
4.0
sublimecode

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

30 $ USD en 1 jour
(8 Commentaires)
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 en 900 jours
(1 Commentaire)
2.7
hugo53

I can handle this job for you!

30 $ USD en 1 jour
(0 Commentaires)
0.0
blackbird12

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

30 $ USD en 1 jour
(0 Commentaires)
0.0
GVW3B5s4l

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

250 $ USD en 1 jour
(0 Commentaires)
0.0
shahez

i believe in quality

150 $ USD en 4 jours
(0 Commentaires)
0.0