|
|
Browse by Tags
All Tags » php » regex
-
Hi,
I am learning regex nowadays.
Now, i am stuck because i cant find how to do it anywhere.
I need to retrieve a word coming after a value.
For example, i need to retrieve the value of the PPFT below:
<input type="hidden" name="PPFT" id="i0327" ...
-
Hi there,
After hours of searching i found nothing that worked. I've got the following string and i want to match all parts between single quotes. It has to deal with user input so the next example is valid: (the both outer double quotes are to show what the sentence is)
"hello world, this is a 'quoted string' using ...
-
Hi! I don't know what's wrong but my expression just doesn't work. I have to find all php variables e.g.
$variable
$variable['array']
$variable -> objectData
or something more complicated
$variable['array'] -> objectNode['arrayindex'] -> somethingelse -> somethingelse2
I tried this one:
$param = ...
-
Hi!
The given construction checks strings in the following format for a validation process of a user input.
AB 123 YZZ-4
CD 123 OP-4 LUA
EF 321 OP-4
RegEx: ^(?:AB|CD|EF)\s\d{1,3}(?:(\s[A-Z]{1,4}-?\d{1,3}?\s?[A-Z]{0,4})|-\d{1,2})
I checked it with the Expresso 3.0 regex software - working fine. When I insert it into my PHP script ( ...
-
In the following string:
<div class="x" bla bla bla <div class="x" bla bla bla <div class="x" bla bla bla EXAMPLE STRING
I want to match: <div class="x" bla bla bla EXAMPLE STRING
NOT
<div class="x" bla bla bla <div class="x" bla bla bla <div ...
-
Hello everybody,
I almost feel bad about writing here - but I really tried for days now. I need a string filtered (matched) from a string like this:
@s My Company Ltd@o My-Street-adress 123@o New York@pt 123-35-144@t Mobile@pt 593-1195-1395
I am trying to filter out the company´s name (which always is from the beginning of ...
|
|
|