by: sinister |
last post by:
The examples in the online manual all seem to use double quotes, e.g. at
http://us3.php.net/preg_replace
Why? (The behavior is different with single quotes, and presumably simpler
to...
|
by: TekWiz |
last post by:
I'm using regex to validate data, but preg_match gives the Warning
"Unknown modifier '\' " when I have '\\' in the regular expression.
Is this a problem with preg_match() or do I have to do...
|
by: Juggernaut |
last post by:
Hi
I was trying to write a script to replace some text inside some tags.
Lets say I had <tag stuff=stuff><tag stuff=otherstuff><another>
I wanted it to find all the <tag and remove them.
So...
|
by: toedipper |
last post by:
Hello,
The following bit of code does a preg match and does something if true
(sets $browser to ppcie)
Without using if then and else's how do I code it so it does not equal
what it is...
|
by: system7designs |
last post by:
I don't know preg's that well, can anyone tell me how to write a
regular expression that will select everything BUT files/folders that
begin with ._ or __?(that's period-underscore and underscore...
|
by: frizzle |
last post by:
Hi group,
I have a function which validates a string using preg match.
A part looks like
if( !preg_match( '/^(+((*)?)?)$/', $string )
||
preg_match( '/(--|__)+/' ,$string) ) {
i wonder...
|
by: terence.parker |
last post by:
I am trying to do a search through some data, more specifically HTML,
to extract data from it. So for example I may have:
<b>Title:</b<em>This is a title</em>
<b>Name:</b<em>Fred</em>
I wish...
|
by: monomaniac21 |
last post by:
hi all
what is the preg for capitals in a word to be replaced by that word
preceded by a space?
i need to be able to do this in preg:
thisWord := this Word
AnotherExample := Another Example
|
by: JanDoggen |
last post by:
function vldLicense($lic)
{
echo "called with lic: ". $lic . "<br>";
echo preg_match('', $lic) . "<br>";
if (preg_match('{4}-{4}-{4}-{4}', $lic) == 0) return false;
return true;
}
gives me:
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|