Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while( preg_match_all( '/^=== (<?scuff>[\p{L}\p{N}\p{P}\p{Sm}\s]) ===$/m', $pagedata, $matches) )
- {
- $pagedata =
- str_replace(
- '=== '.
- $matches[ 'scuff' ].
- ' ===',
- '<div style="background-image:url(./site data/art/separators/Green Oil Scuff.png);">'.
- $matches[ 'scuff' ].
- '</div>',
- $pagedata
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement