Back
4 mins read

Regular Expressions Hidden in the Templates

Blog placeholderBlog placeholder
If we engaged a function to detect joy into our application, it would certainly return negative values whenever a PPC Bee user encounters regular expressions. Regular expression became one of the scary functions, although they are a very powerful element of our application.
By
Michaela Zákopčaníková
| Jul 26, 2016
Let´s sum up what regular expressions are. “A regular expression is a combination of characters that maps patterns in text and allows their search or replacement. Its most fundamental application is similar to the “Find and Replace” function that you know well e.g. from MS Excel. If you manage large PPC campaigns, you deal with large amounts of data. Editing them using RegExps is much easier. They can, for example, remove all the text in brackets or all the colors.” But this is only a per mille of what you can do with RegExps. Most of you know what RegExp is good for this or that. You have entered some 700 unique ones into our application! This also proves that RegExps are true helpers for you.

That is why we decided to simplify your work with them.

The first step towards this includes templates of the most frequently used RegExps which we put wherever you can encounter RegExps in the App. No longer you have to keep sitting at the computer and ruminating over the correct form of a regular expression when removing unwanted text, numbers and characters. Just click and you’re done!

https://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdHNDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--264d05816a5419356da1ffb4bef5ec9bc6d673da/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWxnQ2FRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--b1b529f8dfa4cfc5545b605b986d2f12cc3d32fa/0-0*L3CiSSHT2-J42qhl.pnghttps://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdHNDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--264d05816a5419356da1ffb4bef5ec9bc6d673da/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQXJBRWFRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--21b5f9fec4a1a26d9fca8e4bc575ac97c48ec932/0-0*L3CiSSHT2-J42qhl.png




How to use the regular expression template?

Let´s look at the example of “find and replace” in editing a keyword generator. Click in the first box where you start editing the command “find”.

https://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdHdDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--59dd18fbec19d357c7a1166e0e46bb27900ac674/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWxnQ2FRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--b1b529f8dfa4cfc5545b605b986d2f12cc3d32fa/1-0*9hYHk8vHfe6he-Wm.pnghttps://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdHdDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--59dd18fbec19d357c7a1166e0e46bb27900ac674/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQXJBRWFRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--21b5f9fec4a1a26d9fca8e4bc575ac97c48ec932/1-0*9hYHk8vHfe6he-Wm.png


Then click “Examples of regular expressions” above the entry boxes.

https://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdDBDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--08c17301ac199c97cf01d8e6a6c602f235d56ef6/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWxnQ2FRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--b1b529f8dfa4cfc5545b605b986d2f12cc3d32fa/2-0*09U4PB1qFMKg0Y0K.pnghttps://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdDBDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--08c17301ac199c97cf01d8e6a6c602f235d56ef6/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQXJBRWFRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--21b5f9fec4a1a26d9fca8e4bc575ac97c48ec932/2-0*09U4PB1qFMKg0Y0K.png


This activates a window where you can see an overview of basic regular expressions.

https://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdDRDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--3755755dfca55048a648378dcb92b3b7d0834199/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWxnQ2FRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--b1b529f8dfa4cfc5545b605b986d2f12cc3d32fa/3-0*3e3Ly-swk-PSxHvM.pnghttps://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdDRDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--3755755dfca55048a648378dcb92b3b7d0834199/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQXJBRWFRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--21b5f9fec4a1a26d9fca8e4bc575ac97c48ec932/3-0*3e3Ly-swk-PSxHvM.png



You choose the regular expression that you need. Use the + sign to add it in the entry box at the start of editing. Your selection closes the window and you can continue editing.

If you don’t find a suitable RegExp template, you can, of course, enter your own RegExp. Or use a template which you then adjust to your image. So far, you cannot define your own templates. If you want to include you unique RegExp in the list, let us know. We’ll add it.

Currently we are going through your 700 RegExps and choosing such onesthat can be helpful for more users. Thus the template list is not complete, it will grow gradually.

Read more about RegExps in our earlier-published but still topical blogpost. Don’t forget to let us know how you like working with RegExp templates. We’re looking forward to your feedback as always at info@ppcbee.com or through our chat application or on the Web.

Misaz
Michaela Zákopčaníková
Editor of PPC Bee
Start your 30-day free trial
Cancel anytime. No credit card required
Sign up with Google account
Or use your email
You're already signed in
Jump into PPC Bee

Related articles

Read more

Capitalization in Ads

In the past, PPC Bee automatically changed your capitalized words. Because of them your ads can be rejected (primarily by AdWords). There are, however, several clients whose brand name is comprised of uppercase letters, and there was no way for them to keep this in their ads. Thus we have decided to meet their needs and now we have enabled capitalized words in ads.

By Michaela ZákopčaníkováSep 5, 2017 | 1 min read

Read more

Strategy of Duplicate keywords

Besides preparing ads and keywords in just a few minutes, in PPC Bee you also have a tool offering other advanced settings that are good for better control over the generated data and for optimizing your campaigns.

By Michaela ZákopčaníkováApr 24, 2018 | 3 mins read

Read more

How we built a prototype for Facebook’s dynamic remarketing with our clients

These days are extremely important to us. PPC Bee has been slowly, but surely expanding to another platform, nearing our chief goal of becoming a universal tool for managing all online advertising. The first version is currently being tested which makes us very happy because it means that we’ll soon be able to open Facebook’s dynamic remarketing to all. But what was it exactly that needed to be done before we could reach this stage?

By Michaela ZákopčaníkováJun 4, 2020 | 6 mins read