Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
`
^FROM (.{1})([\p{L}_][\p{L}\p{N}@$#_]{0,127})(.{1})(.*)$
`
gm
Input 1
1
New
SELECT `e0`.`order_code` FROM `ep_orders` AS `e` -----^XXXXXXXXX^----^X^-- Is it possible capture this character without knowing the contents and length of X-sequence? INNER JOIN `ep_orders` AS `e0` ON (`e`.`order_boek_code` = `e0`.`order_boek_code`) AND (`e`.`order_code` = `e0`.`order_code`) WHERE `e`.`order_fase_bf` = `e0`.`order_fase_bf`
Substitution
FROM ${1}database_name$3.$3${2}$3$4
SELECT `e0`.`order_code` FROM `ep_orders` AS `e` -----^XXXXXXXXX^----^X^-- Is it possible capture this character without knowing the contents and length of X-sequence? INNER JOIN `ep_orders` AS `e0` ON (`e`.`order_boek_code` = `e0`.`order_boek_code`) AND (`e`.`order_code` = `e0`.`order_code`) WHERE `e`.`order_fase_bf` = `e0`.`order_fase_bf`