Devam Ediyor

[PHP] Regular Expressions Help (preg_match) Text parser2

Hello everyone,

Im looking for some guy that knows very well how to work with Regular Expressions under PHP5.

im going to explain what i need:

-EXAMPLE:

<?php

// I have something like this to parse (in plain text) pattern is Like *:* *:* *:* ..... where "*" can be any word(letters,numbers,(),backspaces or others) later ":" and again any word(letters,numbers,(),backspaces or others), and this will be reapeated many times...

$str = 'Something 234(asd):SomethingOther [url removed, login to view] Something 234(asd):SomethingOther [url removed, login to view] Something 234(asd):SomethingOther [url removed, login to view] Something 234(asd):SomethingOther [url removed, login to view]';

//later needs to be parsed, but this dont work for me, i need you to make this for me...

preg_match_all('/(?<item1>w+):(?<item2>w+) /', $str, $matches);

/* This also works in PHP 5.2.2 (PCRE 7.0) and later, however

* the above form is recommended for backwards compatibility */

// preg_match('/(?<item1>w+): (?<item2>w+)/', $str, $matches);

//And finally show or insert to database (with an array or smthing)

print_r($matches);

echo $item1[0]." >> ".$item2[0];

//.......... and so on...

?>

Hope you understand what i need, IF YOU CAN DO THIS PLEASE CONTACT.

im willing to pay some dollars for this, like 5-10$, (im not rich and i think wont be easy if you know how to do) :-)

Thnaks.

PS: about time to finnish job, i need asap, it only will take some mins to code.

Beceriler: İfade Motoru, HTML, HTML5, Javascript, PHP

Daha fazlasını görün: what php can do, what can you do with php, what can you do with 5 dollars, str pattern, rich text javascript, regular expressions in c, regular expressions example, regular expressions c, letters example, job matches, how regular expressions work, explain javascript, example regular expressions, example letters, do something for 5 dollars, c regular expressions, w-9 what is it, job help, php 5, str, regular, php w, parsed, expressions, work database letters

İşveren Hakkında:
( 1 değerlendirme ) test, Spain

Proje NO: #693481

Seçilen:

vova86

Will be done asap.

0 gün içinde 30$ USD
(28 Değerlendirme)
4.6