Back
4 mins read

Regular Expressions Hidden in the Templates

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.

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
You're already signed in
Jump into PPC Bee

Related articles

Read more

Broad match gets an update that changes everything

In recent years Google has been paying a lot of attention to broad match keywords. Broad match is designed to make sure your ad pops up when any of a certain number of related search queries is entered. This advantage used to be offset by a number of drawbacks but that’s no longer the case. In this article we’ll show you why you should start using broad match in your campaigns.

By Marek TurnhöferOct 24, 2022 | 7 mins read

Read more

New Google Ads expanded text ads (ETA) now in PPC Bee

The more space the advertisement occupies, the bigger the chance that it will get noticed. This is something that the people at Google Ads are well aware of, so they came up with another text ads extension — a third headline and second description. Of course, this new feature didn’t escape our attention at PPC Bee, and we reflected the changes in the new version of our app.

By Michaela ZákopčaníkováNov 19, 2018 | 3 mins read

Read more

PPC RESTART 2020

On October 1, 2020, another PPC RESTART took place. Despite the current unfavorable situation, the event was held life in the Palmovka Theatre, as is tradition. The all-day conference on paid online advertising targeted mostly online marketing professionals, website operators, e-shop owners, marketing managers, freelancers, and consultants. The program was put together by the Taste Sun agency whose project manager, Michael Koch, accompanied the attendees throughout the day.

By Marie MajerováOct 6, 2020 | 7 mins read