[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - [WMP-TOOL] regex tester
aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

[WMP-TOOL] regex tester

Je komt er niet helemaal uit bij het scripten? Übergoede functie geschreven? Alles met betrekking tot scripting, kun je hier terecht.

Re: [WMP-TOOL] regex tester

Berichtdoor BetaDevil » 29 feb 2008 20:59

BetaDevil
wmpr
 
Berichten: 362
Geregistreerd: 27 nov 2007 18:51

Re: [WMP-TOOL] regex tester

Berichtdoor Stef » 01 maart 2008 14:15

Avatar gebruiker
Stef
wmpr
 
Berichten: 5575
Geregistreerd: 27 nov 2003 21:51

Re: [WMP-TOOL] regex tester

Berichtdoor libia » 01 maart 2008 14:25

bedankt!

en nog ff een regex vraagje :)

ik heb een opbouw van drie keer = dan een tekst dan drie keer = en dan nog een hoop andere tekst (met ook een aantal =en daarin) hoe zorg ik dan dat ik alleen de tekst tussen de drie =en heb?
ola, un cerveza por favor.


of
Avatar gebruiker
libia
wmpr
 
Berichten: 4149
Geregistreerd: 23 okt 2005 14:14
Woonplaats: Alphe!!

Re: [WMP-TOOL] regex tester

Berichtdoor BetaDevil » 11 apr 2008 22:05

Ik ben verleerd hoe je regex's maakt :| Kan iemand het volgende voor me maken:

[CIJFER 0-9, LENGTE 1-3].[CIJFER 0-9, LENGTE 1-3].[CIJFER 0-9, LENGTE 1-3][OPTIONEEL KLEINE LETTER, LENGTE 1]

Dus bijvoorbeeld:
999.999.999z
9.3.2
7.52.3a

Alvast bedankt :ugeek:
BetaDevil
wmpr
 
Berichten: 362
Geregistreerd: 27 nov 2007 18:51

Re: [WMP-TOOL] regex tester

Berichtdoor Remi » 11 apr 2008 22:18


Zo geloof ik...
het werkt niet...
[phpBB Debug] PHP Notice: in file /tools.php on line 59: preg_match() [function.preg-match]: Unknown modifier '^'
het staat daar toch echt goed.. :S
Avatar gebruiker
Remi
wmpr
 
Berichten: 3010
Geregistreerd: 04 apr 2006 15:22

Re: [WMP-TOOL] regex tester

Berichtdoor BetaDevil » 11 apr 2008 22:37

Deze werkt:

Bedankt :D
BetaDevil
wmpr
 
Berichten: 362
Geregistreerd: 27 nov 2007 18:51

Re: [WMP-TOOL] regex tester

Berichtdoor ElbertF » 12 apr 2008 11:21

Klopt niet helemaal hoor, deze wel:



Wat Remi bedoelt kan ook wel, maar dan zou 't er zo uit zien:

Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: [WMP-TOOL] regex tester

Berichtdoor BetaDevil » 12 apr 2008 16:10

Je bent een schat :drunk:
BetaDevil
wmpr
 
Berichten: 362
Geregistreerd: 27 nov 2007 18:51

Re: [WMP-TOOL] regex tester

Berichtdoor frizzy » 12 apr 2008 19:20

Ik ben echt een noob in regex, maar hoe kan ik controleren of iets begint met ?
frizzy
wmpr
 
Berichten: 4261
Geregistreerd: 20 sep 2006 16:03
Woonplaats: Boskoop :D

Re: [WMP-TOOL] regex tester

Berichtdoor ElbertF » 12 apr 2008 20:22

Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: [WMP-TOOL] regex tester

Berichtdoor Remi » 13 apr 2008 12:49

Avatar gebruiker
Remi
wmpr
 
Berichten: 3010
Geregistreerd: 04 apr 2006 15:22

Re: [WMP-TOOL] regex tester

Berichtdoor ElbertF » 13 apr 2008 18:44

Je moet de slashes even weghalen, dan doet ie 't wel.. Die van jou werkt trouwens ook wel maar laat teveel door (zoals bijv. "1111111111a") omdat je de punt niet escaped, en de brackets zijn overbodig. De gebruikelijke notitie voor is simpelweg
Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: [WMP-TOOL] regex tester

Berichtdoor libia » 14 apr 2008 17:02

in de laatste versie had ik gezorgt dat je zelf de slashes moet typen, maar je hebt gelijk! hij doet het alleen als je die slashes weglaat!
ola, un cerveza por favor.


of
Avatar gebruiker
libia
wmpr
 
Berichten: 4149
Geregistreerd: 23 okt 2005 14:14
Woonplaats: Alphe!!

Re: [WMP-TOOL] regex tester

Berichtdoor Stef » 18 apr 2008 19:38

Als je er een verbetering op wilt maken moet je maar even met de aan de slag gaan.
Avatar gebruiker
Stef
wmpr
 
Berichten: 5575
Geregistreerd: 27 nov 2003 21:51

Re: [WMP-TOOL] regex tester

Berichtdoor libia » 26 apr 2008 10:55

ola, un cerveza por favor.


of
Avatar gebruiker
libia
wmpr
 
Berichten: 4149
Geregistreerd: 23 okt 2005 14:14
Woonplaats: Alphe!!

Vorige

Keer terug naar PHP, ASP, SQL



cron