Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
regexp
- Page 1
Re: RegExp matching a URL
Programming
Web Development
15 Years Ago
by itsjareds
Figured it out on my own, I forgot to add double escape slashes since I was inserting the
RegExp
into the
RegExp
object. Here is my JavaScript
regexp
variable now: [CODE=JavaScript]var domain = new
RegExp
("(" + window.location.host + ")|(^\\/.*)|(^[\\w\\d]*\\.[\\w\\d]{2,})", "i");[/CODE]
Regexp whitespace problem
Programming
Software Development
15 Years Ago
by VelcroMan
…: [CODE]print(); pRinT54(); print (); print () );[/CODE] I'm using this
regexp
, which only matches if there are no spaces: [CODE]((?:[A…-Za-z_0-9]*)(\\s*)(\\(.*\\))(\\s*)(;))[/CODE] Sorry for the ugly
regexp
:( Anyone have any idea why it doesn't match if…
regExp pattern
Programming
Software Development
19 Years Ago
by dntchaseme
…=value3 prop4=value4 [section2] .... .... Would someone out there knows javaScript
regExp
and could give me one or two hints on how…
RegExp.replace Not Working
Programming
Web Development
18 Years Ago
by Samir
…://huntsvillecarscene.smugmug.com/gallery/1144571[/url] For some reason, the
regexp
.replace is not working. There is a test clause in…
Regexp pattern checks only last line of multiline block!
Programming
Web Development
16 Years Ago
by Leandro-AL
… my first post here. :) I'm trying to use this
regexp
pattern to filter form input (the message body) that will…
RegExp matching a URL
Programming
Web Development
15 Years Ago
by itsjareds
…] alert(window.location.host); function getPage(url) { var domain = new
RegExp
("/(" + window.location.host + ")|(^\/.*)|(^[\w\d]*\.[\w\d…
REGEXP whole words
Programming
Databases
13 Years Ago
by bob on whidbey
…: [CODE] if ($Location<>'') { $SQL = $SQL." and Locations
REGEXP
'^".$Location."$'";} [/CODE] With CAN entered, only 1…
Regexp for matching {$*} (* = wildcard)
Programming
Web Development
12 Years Ago
by nadskap2
… this one for a while. How do i write a
regexp
that matches every {$*} wherein * is wildcard. I have written one…
Regexp remove only special charachters
Programming
Web Development
11 Years Ago
by OsaMasw
… arabic will not be allowed, what should I put in
regexp
? BTW spaces are allowed
Re: Regexp remove only special charachters
Programming
Web Development
11 Years Ago
by OsaMasw
… need specia'l @charachters # " // anything , any language if (preg_match([//
regexp
to detect special characters],$string) { $msg = "not allowed"…
REGEXP or Select Replace then GROUP BY
Programming
Databases
10 Years Ago
by Szabi Zsoldos
…") What I want to achieve is to **STRIP** (with
REGEXP
?) all the strings starting with **(** and ending with **)** and then…
Re: Regexp
Programming
Software Development
18 Years Ago
by thorne44
… was going to do but I was hoping that using
regexp
I could do it neater and faster than using a… expect something simple like this could be done easily with
regexp
. I was hoping there was a flag or something that…
Re: Regexp?
Programming
Software Development
17 Years Ago
by sgriffiths
I have looked at the
regexp
man pages but it is very terse. When i search google, all examples appear to be in perl. Do you have any
regexp
examples in C? Thanks
Re: Regexp
Programming
Software Development
18 Years Ago
by thorne44
… just after the end of the previous match. > The
regexp
line is the only line that matters. The code inside…
Re: Regexp in Regexp
Programming
Software Development
12 Years Ago
by d5e5
`my $word=~/DOT\d+/;` attempts to match whatever is in $word and there is nothing in $word at this point in the script. You can store a regex pattern in a variable using the [
Regexp
-like quote function](http://perldoc.perl.org/functions/qr.html) as follows: `my $word = qr(/DOT\d+/);`
Re: Using REGEXP in searching
Programming
Web Development
16 Years Ago
by TobbeK
…countyID "&_ "WHERE (REPLACE(CL.searchwords,'-','')
REGEXP
'[[:<:]]"&what&"'" &_…quot; &_ "OR REPLACE(CL.organisation,'-','')
REGEXP
'[[:<:]]"&what&"')" &_… "AND (REPLACE(CA.address,' ','')
REGEXP
'[[:<:]]"&address&"' "&_ …
Using REGEXP in searching
Programming
Web Development
16 Years Ago
by TobbeK
…them to be searched. Can this be done by using
REGEXP
or do I need to split the "what&…tricks using the LIKE clause ? Another issue while talking about
REGEXP
in MySQL. Let's say I have the input value… LIKE ' % " & what & " % ' " WHERE searchwords
REGEXP
'[[:<:]]"&what&"'" [/code]
Re: Using REGEXP in searching
Programming
Web Development
16 Years Ago
by TobbeK
…countyID "&_ "WHERE REPLACE(CL.searchwords,'-','')
REGEXP
'[[:<:]]"&what&"'" &_ …"AND (REPLACE(CA.zipcode,' ','')
REGEXP
'[[:<:]]"&where&"' "&_ …"OR REPLACE(KO.county,'-','')
REGEXP
'[[:<:]]"&where&"' "&_…
VERY URGENT MATLAB HELP for regexp
Programming
Computer Science
18 Years Ago
by tanir
…=black]Since yesterday, i have had problem by using "
regexp
" in MATLAB. Actualy, it is not the first time… fro me to use "
regexp
", but now it gives me error. It says[/COLOR… program for this processing is following: [/COLOR] [COLOR=black]SOLUTION_EPOCHS=
regexp
(str,'\+\s*SOLUTION/EPOCHS\s**\s*Code\s*PT\s…
Re: Using REGEXP in searching
Programming
Web Development
16 Years Ago
by TobbeK
… If Else what = whatinput End If [/code] Database query [code]
REGEXP
'[[:<:]]"&what&"'" [/code]
Re: Using REGEXP in searching
Programming
Web Development
16 Years Ago
by TobbeK
….county = KO.countyID "&_ "AND CL.searchwords
REGEXP
'[[:<:]]"&what&"'" &_ "…
Re: Using REGEXP in searching
Programming
Web Development
16 Years Ago
by SheSaidImaPregy
….county = KO.countyID "&_ "WHERE CL.searchwords
REGEXP
'[[:<:]]"&what&"'" &_ "…
Re: Using REGEXP in searching
Programming
Web Development
16 Years Ago
by TobbeK
There is no medal big enough for you ! Many thanks ! I will send you a message if I come up with something useful in the
Regexp
issue.
Re: Using REGEXP in searching
Programming
Web Development
16 Years Ago
by TobbeK
Okidoki Not sure I fully understand that. Can the REPLACE be used at the column name like this AND REPLACE(CL.searchwords, "-",".")
REGEXP
'[[:<:]]"&what&"'"
Re: Using REGEXP in searching
Programming
Web Development
16 Years Ago
by TobbeK
And yes sir, you have earned a golden plate in Acrobatic Server Pages and Extreme Expressions Input: emailmarketing Output: e-mailmarketing emailmarketing REPLACE(CL.searchwords,'-','')
REGEXP
'[[:<:]]"&what&"'" I don't know how this affecting a table query with 10000 records, but it works.
Glib RegExp Why does this not work?
Programming
Software Development
16 Years Ago
by LindaWiklund
Hello! Trying to use
regexp
in glib but I cannot get it to work. I …*\w*\.+\w*\:\d{4}\sHello But not with glib's
regexp
. Why is that?:X
Javascript RegExp Help !
Programming
Web Development
14 Years Ago
by vinamar82
Hi, I'm trying to use javascript
regexp
to find the following. var url = "http://cgi.ebay.… to get 320459852842 from the above url. This is the
regexp
i'm using which doesnot get me the result. var…
need some help understanding the results of my regexp experiments..
Programming
Web Development
11 Years Ago
by somjit{}
… understand. im hoping the members could help me out :) problematic
regexp
1 : `console.log(str2.match(/a+(a+(?=c))/).toString());` this… gives "aa , a" problematic
regexp
2 : `console.log(str2.match(/^a+(a+(?=c))/).toString());` this…
JS regexp smiley validation not working
Programming
Web Development
10 Years Ago
by Tcll
…;+data+")"), function(smiley, url) { post = post.replace(new
RegExp
('\\b'+smiley+'\\b', 'g'), ' <img src="… post }; where 'data' is the user code... why doesn't
RegExp
('\\b'+smiley+'\\b', 'g') work?? O.o I want it…
Inconsistent Result returned by REGEXP
Programming
Databases
16 Years Ago
by bolodski
… word that starts with 'w'... SELECT * FROM xtable WHERE xvalue
REGEXP
'(,([[:space:]])*w)' Using the query above, I was able to…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC