Jump to content

My first ever workflow: Phone number cleaner


bman

Recommended Posts

Hello everyone,

 

This is my first ever Alfred Workflow contribution, and also my first ever PHP coding. I have been reading a lot and watching tutorials in order to learn PHP.

 

Now here is the problem: I copy then paste very often phone numbers that contain, spaces, dashes or parentheses, that I then have to manually clean.

 

So, I created this workflow in order to get rid of those characters and keep the phone number clean and ready to paste.

 

Here is how it works:

  1. Enter the keyword “phc” followed by the number to clean. It will save the cleaned version to your clipboard;
  2. You can directly clean a number in your clipboard by just typing “phc” in Alfred. The number will get cleaned it, and saved to your clipboard.

I hope this helps. Thank you everyone.

 

URL: http://www.packal.org/workflow/phone-number-cleaner

NB: Do not hesitate to give your suggestions, improve it, etc.

 

Bash Will

Edited by bash
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...