Skip to content

Path: Slash to Dot

Transform file paths to dot notation imports - essential for converting directory structures to Python import statements or module references

Example transformation:
app/services/user app.services.user
⌘K to search patterns
⌘↵ to transform text

Input

(⌘1 to focus)
0 characters

Output

(⌘2 to focus)
0 characters
No pattern selected

Select a pattern or enter custom regex above

Use ⌘K to find patterns

Pattern Details

Search Pattern

/

Replace Pattern

.

Example

Input

app/services/user

Output

app.services.user

Tags

pathconversiondot notation

How to Use This Pattern

  1. Enter your text in the input area above
  2. Click "Transform" or press ⌘+Enter to apply the transformation
  3. Copy the result from the output area

You can also use the command palette (⌘K) to quickly switch between different patterns.

Related Patterns